package com.csun.cmny.provider.model.dto.nursingShiftChangeRecord;

import com.csun.cmny.base.dto.BaseQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;

@Data
public class NursingShiftChangeSelectDto extends BaseQuery {


    //交接班id
    private Long id;

    //护工姓名
    private String nursingName;


    //楼栋号
    private String budingNo;

    //0-白班 1-夜班
    private Integer officeStatus;

    //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String startDate;

    //结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String endDate;
}
